{include file="header.html"}
<div class="row">
<div class="span12">
{include file='coupon/nav.html'}
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>名称</td>
   <td>用户</td>
   <td>类型</td>
   <td>使用价格</td>
    
   <td>截止日期</td>
   <td>领取时间</td>
   <td>状态</td>
   <td>操作</td>
   </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{$c.title}</td>
   <td>{$c.userid}::{$c.nickname}</td>
   <td>{$type_list[$c.type_id]}</td>
   <td>{$c.money}</td>
  
   <td>{$c.end_time|date:Y-m-d}</td>
   <td>{$c.dateline|date:Y-m-d}</td>
   <td>
   		 {if $c.status eq 1}
        已使用
           {else}
           未使用
          {/if}
   </td>
 <td><a href="javascript:;" class="delete" url="{$appadmin}?m=coupon&a=userdelete&id={$c.id}">删除</a></td>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div>
</div>
{include file="footer.html"}